package strcy.cn.market.pojo.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductVO {
    private Integer productId;
    private String productName;
    private String description;
    private Double price;
    private Integer stockQuantity;
    private String img;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
    private  Integer categoryId;
    private Integer status;

    //分类名
    private String categoryName;
}
